Shader program helping sources to handle post processing passes. More...
Static Public Member Functions | |
static nkMemory::StringView | nkPostProcessDefaultVertex () |
Shader program helping sources to handle post processing passes.
|
static |
Full vertex sources for projecting on the full screen the default post processing mesh defined in nkGraphics used in a nkGraphics::PostProcessPass. It can be directly used as a vertex shader program source, with compile time defines customizing its behaviour :
Define | Description |
---|---|
NK_POST_PROCESS_DEFAULT_VERTEX_DISABLE_UV | If defined, the TEXCOORD0 attribute won't be processed nor required. Can be useful to optimize or use a custom mesh / pixel logic. |